package com.example.gbarsmap00.map.bean;

public class Marcador {

	// Tipos de Iconos para los Markers
	public static final int MARKER_ICON_HOTEL = 1;
	public static final int MARKER_ICON_BAR = 2;
	public static final int MARKER_AZUL = 3;
	public static final int MARKER_VERDE = 4;

	String title;
	String snippet;
	double latitud;
	double longitud;
	int icon;
	boolean draggable;

	/**
	 * @param title
	 * @param snippet
	 * @param latitud
	 * @param longitud
	 * @param icon
	 * @param draggable
	 */
	public Marcador(String title, String snippet, double latitud,
			double longitud, int icon, boolean draggable) {
		super();
		this.title = title;
		this.snippet = snippet;
		this.latitud = latitud;
		this.longitud = longitud;
		this.icon = icon;
		this.draggable = draggable;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the snippet
	 */
	public String getSnippet() {
		return snippet;
	}

	/**
	 * @param snippet
	 *            the snippet to set
	 */
	public void setSnippet(String snippet) {
		this.snippet = snippet;
	}

	/**
	 * @return the latitud
	 */
	public double getLatitud() {
		return latitud;
	}

	/**
	 * @param latitud
	 *            the latitud to set
	 */
	public void setLatitud(double latitud) {
		this.latitud = latitud;
	}

	/**
	 * @return the longitud
	 */
	public double getLongitud() {
		return longitud;
	}

	/**
	 * @param longitud
	 *            the longitud to set
	 */
	public void setLongitud(double longitud) {
		this.longitud = longitud;
	}

	/**
	 * @return the icon
	 */
	public int getIcon() {
		return icon;
	}

	/**
	 * @param icon
	 *            the icon to set
	 */
	public void setIcon(int icon) {
		this.icon = icon;
	}

	/**
	 * @return the draggable
	 */
	public boolean isDraggable() {
		return draggable;
	}

	/**
	 * @param draggable
	 *            the draggable to set
	 */
	public void setDraggable(boolean draggable) {
		this.draggable = draggable;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Marcador [title=" + title + ", snippet=" + snippet
				+ ", latitud=" + latitud + ", longitud=" + longitud + ", icon="
				+ icon + ", draggable=" + draggable + "]";
	}

}
